projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a91595a
)
(eshell-add-to-history): Reference to `eshell-history-ring' needed to
author
John Wiegley
<johnw@newartisans.com>
Thu, 10 May 2001 03:28:51 +0000
(
03:28
+0000)
committer
John Wiegley
<johnw@newartisans.com>
Thu, 10 May 2001 03:28:51 +0000
(
03:28
+0000)
be `eshell-history-index'.
lisp/eshell/em-hist.el
patch
|
blob
|
history
diff --git
a/lisp/eshell/em-hist.el
b/lisp/eshell/em-hist.el
index 72dfd449763d542698a1f112c719213e5f9f398a..ef0a4b348c47b18f24c6a17b74ed0f58eba0626e 100644
(file)
--- a/
lisp/eshell/em-hist.el
+++ b/
lisp/eshell/em-hist.el
@@
-374,7
+374,7
@@
input."
(ring-empty-p eshell-history-ring)
(not (string-equal (eshell-get-history 0) input))))
(eshell-put-history input))
- (setq eshell-save-history-index eshell-history-
ring
)
+ (setq eshell-save-history-index eshell-history-
index
)
(setq eshell-history-index nil))))
(defun eshell-read-history (&optional filename silent)